

package com.scs.application.modules.upms.entity;

import java.io.Serializable;

import com.scs.application.core.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;


import javax.validation.constraints.NotNull;
/**
* 快捷方式实体对象
*/
@TableName("shortcut")
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@Accessors(chain = true)
public class Shortcut extends BaseEntity implements Serializable {

    /** 用户ID */
    private String userId;

    /** 菜单ID */
    @NotNull(message="菜单ID不能为空")
    private String menuId;

    /** 显示排序 */
    private int sortNum;
}
